<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>管理员层级关系列表</a></li>
        <li><a href="{:U('user/indexadmin/add_admin',['id'=>0])}">添加顶级管理员</a></li>
    </ul>
    <form class="js-ajax-form" action="{:U('Menu/listorders')}" method="post">
        <table class="table table-hover table-bordered table-list" id="menus-table">
            <thead>
            <tr>
                <th width="50"></th>
                <th>名称</th>
                <th>父级名称</th>
                <th width="180">操作</th>
            </tr>
            </thead>
                <tbody>
                {$categorys}
                </tbody>
        </table>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script>
    $(document).ready(function() {
        Wind.css('treeTable');
        Wind.use('treeTable', function() {
            $("#menus-table").treeTable({
                indent : 20
            });
        });
    });

</script>
</body>
</html>